package cn.dakaqi.pingan.entities;



import cn.dakaqi.utils.DateUtil;

import java.io.Serializable;

/**
 * Created by chunyang on 2016/1/28.
 */
public class PinganBankRecord implements Serializable
{
    private static final long serialVersionUID = -8801484265282414218L;
    public static final int STATUS_NO = 0;
    public static final int STATUS_YES = 1;
    private int id;
    private String sn;          //流水号
    private String volunteerCode;//志愿者编号
    private String name;        //姓名
    private String mobile;      //手机号码
    private String IDCard;      //身份证
    private String guardianName;//监护人姓名
    private String guardianMobile;//监护人电话
    private String guardianIDCard;//监护人身份证
    private String cardNum;     //银行卡号
    private String createTime;  //记录时间
    private String platfrom;    //来自平台编号
    private int status;         //是否激活

    public PinganBankRecord(String sn, String volunteerCode,String name, String mobile, String IDCard, String guardianName,String guardianMobile,String guardianIDCard,String cardNum,String platfrom)
    {
        this.sn = sn;
        this.volunteerCode = volunteerCode;
        this.name = name;
        this.mobile = mobile;
        this.IDCard = IDCard;
        this.guardianName = guardianName;
        this.guardianMobile = guardianMobile;
        this.guardianIDCard = guardianIDCard;
        this.cardNum = cardNum;
        this.createTime = DateUtil.getToday();
        this.platfrom = platfrom;
    }

    public PinganBankRecord(int id, String sn, String volunteerCode,String name, String mobile, String IDCard, String guardianName,String guardianMobile,String guardianIDCard,String cardNum, String createTime,String platfrom)
    {
        this.id = id;
        this.sn = sn;
        this.volunteerCode = volunteerCode;
        this.name = name;
        this.mobile = mobile;
        this.IDCard = IDCard;
        this.guardianName = guardianName;
        this.guardianMobile = guardianMobile;
        this.guardianIDCard = guardianIDCard;
        this.cardNum = cardNum;
        this.createTime = createTime;
        this.platfrom = platfrom;
    }

    public PinganBankRecord()
    {
    }

    public String getVolunteerCode()
    {
        return volunteerCode;
    }

    public void setVolunteerCode(String volunteerCode)
    {
        this.volunteerCode = volunteerCode;
    }

    public String getGuardianName()
    {
        return guardianName;
    }

    public void setGuardianName(String guardianName)
    {
        this.guardianName = guardianName;
    }

    public String getGuardianMobile()
    {
        return guardianMobile;
    }

    public void setGuardianMobile(String guardianMobile)
    {
        this.guardianMobile = guardianMobile;
    }

    public String getGuardianIDCard()
    {
        return guardianIDCard;
    }

    public void setGuardianIDCard(String guardianIDCard)
    {
        this.guardianIDCard = guardianIDCard;
    }

    public int getStatus()
    {
        return status;
    }

    public void setStatus(int status)
    {
        this.status = status;
    }

    public String getPlatfrom()
    {
        return platfrom;
    }

    public void setPlatfrom(String platfrom)
    {
        this.platfrom = platfrom;
    }

    public int getId()
    {
        return id;
    }

    public void setId(int id)
    {
        this.id = id;
    }

    public String getSn()
    {
        return sn;
    }

    public void setSn(String sn)
    {
        this.sn = sn;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getMobile()
    {
        return mobile;
    }

    public void setMobile(String mobile)
    {
        this.mobile = mobile;
    }

    public String getIDCard()
    {
        return IDCard;
    }

    public void setIDCard(String IDCard)
    {
        this.IDCard = IDCard;
    }

    public String getCardNum()
    {
        return cardNum;
    }

    public void setCardNum(String cardNum)
    {
        this.cardNum = cardNum;
    }

    public String getCreateTime()
    {
        return createTime;
    }

    public void setCreateTime(String createTime)
    {
        this.createTime = createTime;
    }

    @Override
    public String toString()
    {
        return "PinganBankRecord{" +
                "id=" + id +
                ", sn='" + sn + '\'' +
                ", name='" + name + '\'' +
                ", mobile='" + mobile + '\'' +
                ", IDCard='" + IDCard + '\'' +
                ", cardNum='" + cardNum + '\'' +
                ", createTime='" + createTime + '\'' +
                '}';
    }
}
